﻿Imports System

Namespace System.Workflow.Runtime
    Friend NotInheritable Class WorkflowDefinitionEventArgs
        Inherits EventArgs
        ' Methods
        Friend Sub New(ByVal scheduleType As Type)
            Me._workflowType = scheduleType
        End Sub

        Friend Sub New(ByVal scheduleDefHash As Byte())
            Me._xomlHashCode = scheduleDefHash
        End Sub


        ' Properties
        Public ReadOnly Property WorkflowDefinitionHashCode As Byte()
            Get
                Return Me._xomlHashCode
            End Get
        End Property

        Public ReadOnly Property WorkflowType As Type
            Get
                Return Me._workflowType
            End Get
        End Property


        ' Fields
        Private _workflowType As Type
        Private _xomlHashCode As Byte()
    End Class
End Namespace

